package com.jumper.study.admin.service;

import java.util.Collection;
import java.util.List;

import com.jumper.study.db.model.LessonEbook;

public interface LessonEbookService extends BaseService<LessonEbook> {
    //读取课程资料列表
    List<LessonEbook> getByLessonId(Long id);

    //上架设置
    boolean onselfById(Long id, boolean onself);

    //批量上架设置
    boolean onselfBatchById(Collection<Long> ids, boolean onself);

    //删除相关课程资料
    boolean removeByLessonId(Long id);
}
